<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>登录 - 汉中旅游</title>
    <link rel="stylesheet" href="css/style.css">
</head>
<body class="login-page">
    <div class="login-container">
        <div class="login-form-wrapper">
            <div class="login-logo">
                <img src="img/attractions/logo.jpg" alt="汉中旅游">
                <h2>汉中旅游</h2>
            </div>
            <form id="login-form" data-validate>
                <div class="form-group">
                    <label for="username">用户名</label>
                    <input type="text" id="username" name="username" required>
                </div>
                <div class="form-group">
                    <label for="password">密码</label>
                    <input type="password" id="password" name="password" required>
                </div>
                <div class="form-group remember-me">
                    <input type="checkbox" id="remember" name="remember">
                    <label for="remember" class="inline-label">记住我</label>
                </div>
                <div class="form-group">
                    <button type="submit" class="btn login-btn">登录</button>
                </div>
                <div class="login-links">
                    <a href="#" class="forgot-password">忘记密码?</a>
                    <a href="#">注册</a>
                </div>
            </form>
            <div class="login-footer">
                <p>没有账号? <a href="#">立即注册</a></p>
                <p><a href="index.html">返回首页</a></p>
            </div>
        </div>
    </div>
    
    <script src="js/main.js"></script>

    <style>
        /* 登录页特定样式 */
        .login-page {
            background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('img/hanzhong-background.jpg');
            background-size: cover;
            background-position: center;
            min-height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 20px;
        }
        
        .login-container {
            width: 100%;
            max-width: 400px;
        }
        
        .login-form-wrapper {
            background-color: white;
            padding: 40px;
            border-radius: 8px;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
        }
        
        .login-logo {
            text-align: center;
            margin-bottom: 30px;
        }
        
        .login-logo img {
            height: 60px;
            width: auto;
            max-width: 100%;
            object-fit: contain;
        }
        
        .login-logo h2 {
            color: #e74c3c;
            margin-top: 10px;
        }
        
        .login-btn {
            width: 100%;
            padding: 12px;
            margin-top: 10px;
        }
        
        .remember-me {
            display: flex;
            align-items: center;
        }
        
        .remember-me input {
            width: auto;
            margin-right: 10px;
        }
        
        .inline-label {
            display: inline;
            font-weight: normal;
        }
        
        .login-links {
            display: flex;
            justify-content: space-between;
            margin-top: 20px;
            font-size: 14px;
        }
        
        .login-links a {
            color: #e74c3c;
            text-decoration: none;
            transition: color 0.3s;
        }
        
        .login-links a:hover {
            color: #c0392b;
        }
        
        .login-footer {
            text-align: center;
            margin-top: 30px;
            font-size: 14px;
            color: #666;
        }
        
        .login-footer a {
            color: #e74c3c;
            text-decoration: none;
        }
        
        .login-footer a:hover {
            text-decoration: underline;
        }
    </style>
</body>
</html>
